update card detail