import charts and update layout