You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: repository_user.rb
    path of file: ./repos/libraries.io/app/models
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

# == Schema Information
#
#
    
  def sync
    check_status
    return unless persisted?

    download_user_from_host
    download_orgs
    download_repos
    update(last_synced_at: Time.now)
  end