moved precompute process from api to lib
REMOVE: old update process code
REFACTORING: mv strategy structure manipulation from api to lib