updates the genertion script.