updates to new, edit, datepicker