update script for variance of list