replacing auto-generated content