Bulk Upgrade Shared Components In Host Family

Does anyone know of or have a script for Dynamo that can open a Revit family, look for nested families, and reload them looking through a specified root folder? I just got tasked with upgrading all our families to 2019, and we have a lot of shared families that are nested into multiple families.
Thank you in advance.