Added function to decrease item amount when shipped