update the init script