Remove updater routine
Extract update function to different lib