sh: Convert sh to use read/update_persistent_clock