Added changes to the purchase module