throw exception if not update any record