change database and kytype config