I might not be understanding this correctly , but <code>versionUpdaters</code> only has one function. If <code> i == 1 </code>  then <code>versionUpdaters\[1\]()</code> would raise <code>IndexError: list index out of range</code>. Could  <code>v1_upgrade</code> be called instead?