updated user and activity index