This is an other case. In my case ,c, depends on ,w, , because c[0]=w[0]. So i want that when ,w, gets updated  then c must be also get updated automatically, i.e. c[0]=w[0] st.t w[0] is the new value.