update generator to current state