update option tree