Updating Search Field

It works but doesn’t repopulate itself  : (