update generator of generator