delete functionality added, refresh still required