setdate was not updating the datepicker on blur