update substates everywhere