added time to the date update to sql