update struct access public