appregistry_sync_resource function

Syncs the resource with current AppRegistry records