improvements on the workflow to create/update note