update app model