Update RAFT entries if terms match.