Update GenericChart class