remove console.log
update api