got updatign chart working