refresh contexts.