update error code define