UPDATE notes_tree SET note_pid = 'root' WHERE note_pid = ''