update image resized size, and id generator