update inverse_opt