update the script to make push succeed