Update schemas for refs
Fix typeo