Replace some HTML

Replace some HTML

I am brand new to Jquery and not finding exactly what I want.  (don't know what to search for) So I thought I'd try here.

I have this code...
<strong id="cups" class="styleColor" data-to="11244">11244</strong>

I want to replace 11244 for the data-to to be a new calculated number.  This is a count-to plugin in a template we purchased.  I want the count-to number to ever be changing depending on some calculations I make on the fly when the page loads.

So I will do the calculations in a script then find the id cups and replace data-to with new number...but have no idea how to approach this....

Thanks for any help!