rename xml and delete unused xml