update to latest ERB templates