removed setAutoDraw & setAutoUpdate function