implemented item editing feature