Update AppInstance.java