updated api for remote communication
changed respose for server sync: