Updating the Repository