Update client index.js with Needs subscription