added delete function for site