update client structure