Added thread for updating entities fr server data