fixed draw rate useless because nothing was updated (added updateDraw)