Update generate command