some optimizations to modifyAndNotify, removed an extraneous console.log in livedata_server