changed db connector