update sample scripts