changes for edit fragment