updated sql DB with purchase date and other fixes