update app and functional tests