changed data when finishing purchase