fix dependencies
set owner of replication so comparison works

The owner is automagically set when creating a replication. we get the replication doc to test if it's up to date. For the comparison to work we need to set the owner too.