migration for notes