edit item working