How to build this query to update all items at once?

First please followup on