add feature:
    add modify and set operation of res.
    update cycle can be a function now.

and ...
not tested yet!TT