update note history migration