Updated pryving of note with new API (cache of streams not handle anymore)