Add hooks and update document and bump up version