Change index dynamically in dashboard

@azasypkin

this is the discussion I was referring to: