Fixed wrong order model configuration. Added updating times_purchased column on checkout.