update q_learning