Add yes/no's to database from repeating group

I have a repeating group which shows a ‘List of rooms’ under the type ‘rooms’.

This populates fine and everything is working as it should. What I’m trying to do next is when a user clicks ‘Book’ which is a button in the repeating group for it to write back to the database and update a list of yes/nos, with it saying ‘yes’ for booked - booked being a separate yes/no list.

I cannot work out how to do this, it updates the whole list changing all of them to yes or not at all. I have tried custom states, autobinding and workflows but still unable to achieve this.

These conditions don’t seem to work.

Or this.

Would be grateful if someone could take a look and let me know where I’m going wrong. The edior is here;