update server.php and php client.