update HTTP script