Added update trainer name functionality.