Update ec.go