- add update adapter to set headers
- fix indentation