Updating console.log output