edit entry function impl