update data process function on server side.