update dbconnection and servermethods