function updatePaid(address from, address to, uint perc) {
        require (msg.sender == ICOaddress);
        uint val = ((paid[from] * 1000000) / perc) / 1000;
        paid[from] = paid[from] - val;
        paid[to] = paid[to] + val;
    }