update cms giftcard function