update errors as module