update client script