update application context
update application context