multiple changes to component and context