Added ability to edit an entry.