update repository to point to the right place