Fix a bug about check update time