fixed search
Revert "added allow update option"

This reverts commit a25f4e223452bcefd04c596f220b23701700568e.