Fix typo in chart update.