added edit, update, and delete routes