update erb file