Updated location sync class to use latest changes in metadatadeploy