add default behavior for add new links or update existing
Merge pull request #2 from mupat/master

add default behavior for add new links or update existing