}
public static ScriptStatus update(String name,String code) throws ScriptException {
ScriptsDao dao = ScriptsDao.getInstance();
updateCacheVersion();
ODocument updated = dao.update(name,code);
compile(updated);
ScriptStatus status;
ScriptCall install = ScriptCall.install(updated);
try {