update app layout