added line to change status to active if expire_dt is in the future