Added safeFetchForUpdate along with deadlock examples.