updated Dashboard controller for gui updating