change timeout value on draw