New dpi change method