Add optimization when updating a SW registration results in the exact same script