update file type to pair