catch exception. bug fix about updating date.