FIX Check existence of reader before updating url

When calling updateURL for files, if the DB stored pointer doesn't actually
exist, you'd get a NPE. This fixes that problem