some error in update