update context data