update pic size