update param names to match that used in template.