error fixed

random error i don't know how to explain. updating method broke if i
tried to call setCat() inside of it. all though object that has setCat()
is its only parameters. actually.......................

oh. i think i didn't use set cat on the server side implmentation....
nvm