updating _setNullDate and _insertDateIntoInput with better values