refactored card update and label listeners