update the local repo