Updating datepicker