update repo reference
branch not working