Royals ready to extend Madejski