Update file handling