Update room_state.c