updated hidden/visible device flags to BS3