client needs to send an array of edits