add item and a bit of edit item