Update api doc
Fixed cache check
Jackpot AI
Updated jackpot routines.