syncRegistry function

Synchronize the Registry