updating chart both lines