update to base template