update client protocol