update db settings for better security