update optimizer test