edit modify method