Update deadline date when the datepicker sets value