fix bug to card#update