dates are now going to the database