edit/update functionalities added