Added ability to edit pastes