update command, add adaptor