Updated replicaagreement command