#1501
changing update script to only directly update vanilla and lavender
fixed undefined next