code: def update_remote_ids(self, remote_file):
          
          self.remote_id = remote_file.id
          hash_data = self.path_data.get_hash()
          if hash_data.matches(remote_file.hash_alg, remote_file.file_hash):
              self.need_to_send = False
docs: Based on a remote file try to assign a remote_id and compare hash info.
          :param remote_file: RemoteFile remote data pull remote_id from