Update for vec API changes