update documentation about extension callbacks