change buy process logic