edit fragment framework