database update tweaks