Context Table Update

TODO:
remove repetitive code
add consumer id’s since parentID is the room not the parent device