changed function smps update for tbm_after_lead_date based on group id