- added delete function
- added edit form (TODO: update method)
-fixed update