db class and time kill update

db class and time kill update