ministry delete funcionality