add search with last id