updating repository object syntax