Updating dpi settings.