Change 'insert' to 'replace' in update_077.sql for idemptotence