update animals example to work