update API tests