updated viewer files _for erb