change item type to file on action=updatePic to master