Amend base template