Update struct fields.