adding get delete for id
fix put method