add the part that update the item stock after a purchase is done