fixed updatescripts and updateann