removed 'update' from being printed int timer function