added detail destroy update api for vote
added url in api