Fix update s4 scripts