Update for thread-safety of AppResource