add pushData() method. Best practice for pushing updates is now to make changes to the data var, then call pushData(), which will handle redrawing and pushing