update activity_template