addconnections and check connections modified