updated player api
fixed doc error