Update template task for new erb_file method