update flags example