update files based on tag