added Edit Item functionality