change key generating policy