refactored the UpdatesRequestSender and added some headers