update note message by id