refactor
items update/destroy api