update c-flag handling