Updating recordId when receiving updates from server