update the addActivity