modify server according to client command