`modify` replace chart lib