updating connections