Added edit notes functionality