update current replica counter