update api test