manager search function update