The only working code for updating an entry

I have tried every possible combination, but this is the only working
code for updating an entry. Big problems with quotes.