add global data to the context