Add delete() and put() functions