changed delete keys to deleteModel