set database configs