error in upate