changes to graphs model and acordions