added update logic in extractthis in server.js , other places to follow