[server][client] implement update action

related to #828.
This implementation for Action only.
Because the variable "self" isn't defined in this funtion, it doesn't work.