Update generator doc
Update functions doc