edit node using ajax