Update AppMain

purity