change db type