Change structure of controller crud