added  client server data syncing for gui display