Added DBupdate function.

Need to update docs, because the implementation is a little complicated.
But I tested it with more than one value and everything, I belive it works.