Solved link issue by adding algorithm in update routine