update db setup and mail setup for server use