scripted update