Changed main
Update timer