Fixed deck not saving on change

Accompanied by api fix