update connection for app