Implemented new update method

Signed-off-by: gitta-mannen <mail@janpettersson.com>