tryna fix this chart updating bug