changing device densicty