return posted data as json in update function of page controller
defined edit_page_changes function