Remove unreliable argument from updateFlags callback