(Bluefox) upgrade adapter function
Merge pull request #79 from GermanBluefox/master

(Bluefox) upgrade adapter function