change attributes console.log