update image sizes