Merge pull request #182 from Useful-Innovation/johans-fixes

fixed new purchase date bug + db update