Update share.class.php to use vardiff