Update code for call POST action