Update the repository