modify some db connect