initial sync with local code