update error library for EC... changes