Refactor UpdateCreditCardsController#update method