Updating add-rel to match the new interface