update downloads newest version.

old line worked because len of whole dict and the len that wanted were
coincidentally the same