updated public index and fixed some other stuff with the gems