Put index is working