update wrapper file