updated discovery to use id instead of title