update before trying to modify ondraw