Remove the update hoo and improve the script.

#3197