Update description of the functions

Update missing description of the functions and fix some typos.