Fix bug Content-2485: when adapter is default adapter, ignore the unique id check.
Fix bug Content-2485: only update unique id when value from adapter is not empty.