Global repository update refactoring