updating image sizes