edit a client