persisting purchases by adding purchases model