fix chart updates