Added edit functions