add echo buffer mode to store data on server