Implement note editing