Generates probability table and handles updates.