change item type to file on action=updatePic