Added modify_element() function and tests