Tried to make the update an asynchronus task. But my work laptop is stupid and work compile in eclipse.