update nginx dev and legacy