fixed AFC update