fix updates to length binding on insert and remove