update server address

fix file upload issue
use global settings

set absolute data folder in startup