Only save new links in database otherwise increment count field