changed all d.index references in updateChord to users[d.index]
changed all d.index references in updateChord to users[d.index]