Added delete method. Fixed where params

Updated example.