database improvements