Update for pointer to structs