Update status in error case