change views struct modify register