updating compare for multi troip