Update an example, fix bug with missed arguments during hook execution