How can I add function and array to already deployed contract on the main net.
User[] public registeredArray;
function getAllUsers()public view returns(User[] memory){
return registeredArray;
}
How do I add this array to the struct of the deployed contract and also this new function to it? Need to add to the deployed contract