update app def