LS: Flag update