use timer to update in brush tool