Add truncate method in mappedclass
update history