updated how prize api works