Updated index to take data from server
Updated index to take data from server