Update rest response headers
Update pull data logic