Revert "fix NameError in update"

This reverts commit 0989956b16450a0e7ea6d6673efda0dc16f363bf
1 file changed