change replication parameters to an option hash