Updating Share contract functionality