updating compare for term plans