updating to new spec v1, major API changes