Update for new nest api