update for nginx