Refactored Edit methods for runs and samples