Neo-6M GPS can't update faster than 1Hz

hi i want to update faster the gps module, i've aready looked at the other post but i can't make it work, i don't know how to send this $PUBX,41,1,0007,0003,19200,0*25 for changing the baudrate , and for changing the rate to 5hz i send this

serdata= [ 0xB5, 0x62, 0x06, 0x08, 0x06, 0x00, 0xC8, 0x00, 0x01, 0x00, 0x01, 0x00, 0xDE, 0x6A] #0x06"0x00"0xC8"0x00"0x01"0x00"0x01"0x00"0xDE"0x6A"
for i in serdata:
    ser.write(i) # send all hex in the list

but because i can't update the baud rate i get the same and if i try to increase from the raspberry i get no output

for i in serdata:
ser.write(i) # send all hex in the list

Where is this code running?
This is not a valid C99 sintax, are you running it in python in raspberry?
Did you get data from the GPS with the current baudrate?
Before you send that data you should be sure your serial connection is @ the right baudrate.

Are you in the right forum, that looks nothing like Arduino code ................