Fix bad copy-paste error in deprecated method

Instead of passing the conditions to the update method, it was passing the write values.

Bug: 48782
Change-Id: I3d67e2b8f1d80865a21799873d7ca239db6e9678
Merge "Fix bad copy-paste error in deprecated method"