add behavior for editing an item's id