update image dimension