Change update server

Clean some code