modify application context structure