update struct func return args