added updateRewardPoints