limit update image size