update serve/client