Removed old debug code from Update.