scriptprocessor api update