Fix streaming updates (limit writing so it doesn't go over block size)