update truncate deprecation