update optimization and charts