update example
Make headers struct + json