sync with local repository