variable ‘update’ set but not used
Resolve `variable ‘update’ set but not used` compiler warning, by removing the variable altogether. No functional changes.