database preferences