[os] missing code in update()

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>