update dimension canvas game TIM