Updated delete and put methods to work with API.