update right and middle connection building to reference keep everything else