Libraries adapt to meet demands of Internet age