update for Optimize