update log
update stuff, database switch