specialization for vector update using logical equality