Added ability to edit and delete items.