update image size with p