update api tests