update api after testing