Restore trigger track_updates on sync tables

Since we cannot update cdb_tablemetadata from synchronization adapter
we have to restore the trigger and perform a manual update

\cc @lorenzoplanas