Endogenous correlated network dynamics