update datepicker, fix modal issue