updated wizard and added search api to stm