update truncate snippet