fix bug to invode overwrite
introduce dateConfig and avoid the double check on startup
 check dateconfig and merge doc when update