updating date_format time