That code should work. Are you sure it was uploaded to the correct place? If you give me FTP access and a URL to reproduce then I could take a look, but my best guess is that you aren't putting the file to the right location and overwriting the live file.