update db settings and etc.