send updates to server only periodically, in batches
refactored server service a little bit
fixed message ID confirmation and sending updates in batches so that they work. there were a couple of bugs to iron out