adding plot average map and update server C shell