Fully functional Edit and Delete