Updating mongodb connection info