actually fix updating struct values