edit function can disappear after binding