Multiple records updates

It would be nice to have an ability to update multiple records in one query. For example, I want to mark all the messages read in the chat. There is a table with messages and I know IDs of the messages I want to mark read. So I want to create one command like 'Query all records' but 'Update all records' instead of For each cycle and updating records one by one because it's really slow!
6