Adding replication graph