add define adapter and version up