Updated condition of error