Create edit_functions