Update enum code example