made add/delete ingredient api be persistent