update simple vector