spot edit/delete functionality added