set database settings