add Idea editing and deleting, with tests