update image file part of pin