fixed offset updater

Signed-off-by: Konctantin <gawrilyako@gmail.com>