Database minor changes