updates to search panel (I kinda forgot what I did)