Updates returning status code of errors