updates basic struct