updated the date and time picker