update local/prod host calc