Update lua_api.txt documentation