Added method to change keys of an entry using MPI.