Some updates for horde config and database manip