got delete and put methods working