added replication_on_insert handling. Changed replication from date_updated base replication to revision number replication.
added replication_on_insert handling. Changed replication from date_updated base replication to revision number replication.