Update file struct