Flexible Control of The Target Template During Visual Search