upgrade program event state name to v5