update note on error out, support is_link as well