update staging config with database url and server url