updates for setting connection