updated adapter