Fix call to headers.update