remove unlinked files and update text