Added edit, update, and delete functionality