fix the statusCc directive to update classes when status changes.