updated since
memdb master-slave replication implemented