updated api call for borrow book search