Removed debug print from update()