update for automatic architecture setting