add deleteentry method and button functionality for deleting/adding
matches for old entries