Fixed issue with adding multiple new tags to a post

Fixes #1907

Refactored `updateTags` to correct a loop issue where the `insert`
method was mistakingly being passed rather than `update`, triggering a
duplicate PK SQL error.
Merge pull request #1927 from schneidmaster/fix-1907

Fixed issue with adding multiple new tags to a post