move extend watch to top of nginx state