finally fixing set-function

- made it work with the same signature like backbone