changed flags
update flags
update config