update image thumbnail