Add basic edit functions