update the repository