update app and config