implement an update pkgdb function
read config when starting up. currently ignoring it