added: edit-function