update appdef.xml