I would suggest you re-read my post and pay particular attention to what I told you that you needed to add if you wish to change the file.
hmmm ... after re-reading it myself it is perhaps unclear
By adding the -i option to the sed line it will make changes to the file, man sed for more