prepare for client.html udpate