update code for loadAppData interface