update contents of repository