renewal function that updates scope on completion