bugfixes and updateRewardPoints()