updates to vector