new updateFlags feature
v0.1.0
fixed a bug when sending null to updateFlags
v0.1.1