update Snake to template