update, but can not open ring yet
update comment
*add func checkOrdInDb();
*adjust history order condi