update for activity