update rooms api