update client, server