Fix streaming updates (limit writing so it doesn't go over block size)
also test with 3 partial updates
2.1.7