Update to error code