update vectorization