updated search in apt controller and search html