Edit/Delete Function

Added first part of edit/delete function for entries.