updated to the latest rayne API