update current card correctly in UI