updates for changing the pixel size