updated item.update method