rename database type