Update search plugin to use post