updated the reward object