updated libraries used
using socket.io to update data automatically