change server and add report function