add parse json to edit controller