update for local repository