change db typea