updated pending requests and connections + merged changes