Updates repository.