updated spec api.txt