Added a class dedicated to update flags.