changed created_at and updated_at to store just the date not the time