changed db connection