updated statechart with recent changes to search tool