update details.newSize