fix NameError in update

Change-Id: I4b36374fec26d223adadb1f3d543852fcbd55539
1 file changed