Update api object and tests