update snippet for 2 vars