adding status field to device