update badgeviewposition every time