updating for local server