update flask demo according to official quick start
update flask demo according to official quick start