store parsed card data to database