update error log in core