update expand scripts