implemented delete for notes