updating console.log