Updated Sync functionality
Changed Id to String