rename remote variable in the repository update function