update error and show error of import