implemented rudimantar edit fir existing pastes