update activity history