Adjust snippet to the new template