remove previous version on documents