fixed delete and update functionality. formatted detailsview