update generators and hooks