sync local repository