Updating nginx state file