Update primary repository