update app vars