Update content length cache on update.