update flags for 3.4