adding the edit option