updated pin model with image file name