update QLearning
fixing simple QLearning