added edit, update, delete routes in controller