update. ma js scripting