Not Shift up gear and will not exceed 40 mph and high rpm

Can anyone help me? I have a 2004 C320 I don't know if it is in the Limp Mode or not but it will not up shift to pass first gear and won't go pass 40mph with the high rpm. I replaced the 13 pin connector and add ATF Fluid and reset the transmission and still not work. Can anyone give some tips.