modify struct data