Updates db connection setup