added delete functionality.
added updating feature
next commit should be ajaxify!