Update adapters.js