implements edit item w/test