updated api methods and tests to reflect