Update chart
Fix type mismatch