Chart now updates dynamically