updating chart types