functionality to delete and edit of definitions and words