[server][client] implement update action

related to #828.
This implementation for Action only.
Although I already merged it, please extract the code to parse the parameters as a function and share it with handlerPost().