updating text display objects on the fly

I have a property that holds a number

local numberOfBullets = 8  

in a function that does some more stuff it also counts down the Bullets

numberOfBullets = numberOfBullets - 1  

I made a display that shows count on stage

  
local scoreDisplay = display.newText(numberOfBullets,40,45,nil,24)  
 scoreDisplay:setTextColor(255,255,255)  

However, its doesn’t update the display number, unless I remove the textfield and add it again with the new count.

Is there a better way LUA/Corona experts? [import]uid: 6500 topic_id: 9826 reply_id: 309826[/import]

after this
[lua]numberOfBullets = numberOfBullets - 1[/lua]

add this
[lua]scoreDisplay.text = numberOfBullets [/lua] [import]uid: 48521 topic_id: 9826 reply_id: 35813[/import]