updates config with new location directive