migrate old note collection to new script