[update] do not assign to unused variables