Added ability to edit items.