Re-configure database