update charts layout