change branch and update file