fix logic preference
update migration categories used for logic preference and add prefernce template