fixed a update and delete item buy