update file name and image min