added triggers, but they don't work yet. The replication error still exists.