add new attrs to template