minor database tweaks.