master heartbeat modified