update image resize