edit controller, add action