Change mongodburl to support replicaset