Update the context