update dropbox api. add two setTimeout the first for getting data, the second for drawing.