updates to make dashboard work