Updating for bandit