Update repository directory