update name and add analytics