for #6 add update operation `script` support