changing db setup for online deployment