```\nfunction setValidatorAddress(uint128 validatorId, address newAddress) external whenNotPaused {\n    // // rest of code\n    v.stakings[newAddress].shares += v.stakings[msg.sender].shares;\n    v.stakings[newAddress].staked += v.stakings[msg.sender].staked;\n    delete v.stakings[msg.sender];\n    // // rest of code\n}\n```\n