added new path update API, key caching, fixes to snapshots and others