test update purchase management