edit controller for grocery