Handling POST for updating room status.