update in wrapper