In this case Update
call is not needed. Flush
should be enough. But it should work, there is nothing unusual here. Have you debugged it? Are you sure the code is reaching that line of code? Do you have an open transaction and are you committing the transaction eventually?