edit/delete functionalities added with some UI modifications