WOBS-3185: Fixes issue with not updating timestamps in database, once da...

...ta is already present

Database was not updated if the rows already exists. This is also related to a PR for themes.