basic update of the flags