fix bug at update note