update acc method in rest client
Merge branch 'master' of https://github.com/msmolle/swa