added ability to edit items