changed db type