Updating file type