Update snippet figure.

Check for undefined variabels.