added delete and revision