update destroy action in notes controller