added editing and adding items