Update sub_file