Fixed edit note backend