update connection database