update client.php