Activity class updated