update release run and variables in templates