Update activape_template